package com.sh.data.engine.domain.normalization.modeldesign.busmatrix.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sh.data.engine.domain.normalization.modeldesign.busmatrix.model.domain.LogicRelFieldDomain;
import com.sh.data.engine.repository.dao.normalization.modeldesign.busmatrix.arg.SaveLogicRelArg;
import com.sh.data.engine.repository.dao.normalization.modeldesign.busmatrix.entity.MatrixFieldEntity;

import java.util.List;

/**
 * @author : changkong
 * @date : 2022/8/15
 */
public interface BusMatrixFieldService extends IService<MatrixFieldEntity> {

    List<LogicRelFieldDomain> getLogicRelFields(Long matrixId);

    boolean cancelLogicRelFields(Long matrixId);

    boolean saveLogicRelFields(Long matrixId, List<SaveLogicRelArg.RelField> fields);
}
